package org.primefaces.examples.moviecollector.dao;

import java.util.List;
import java.util.Map;

import org.primefaces.examples.moviecollector.domain.Eventos;


public interface EventoDAO {
	
	Eventos loadById (Long id);
	
void persist(Eventos evet);
	
	void update(Eventos evet);
	
	void delete(Eventos evet);
	
	List<Eventos> loadAll();
	
	public List<Eventos> findByNombre(String nombre);
    
    public List<Eventos> loadLazy(int first, int pageSize, String sortField, String sortOrder, Map<String, String> filters);
}
